package com.trainoo.novel.model;

public class Chapter {
	
	private String chapName;  // 章节名
	private String chapUrl;   // 章节url

	private String preUrl;    //上一章
	private String chapMain;  //主目录
	private String nextUrl;   //下一章
	private String content;   //正文

	public Chapter() {
	}
	public Chapter(String chapName, String chapUrl) {
		this.chapName = chapName;
		this.chapUrl = chapUrl;
	}
	public String getChapName() {
		return chapName;
	}
	public void setChapName(String chapName) {
		this.chapName = chapName;
	}
	public String getChapUrl() {
		return chapUrl;
	}
	public void setChapUrl(String chapUrl) {
		this.chapUrl = chapUrl;
	}

	public String getPreUrl() {
		return preUrl;
	}

	public void setPreUrl(String preUrl) {
		this.preUrl = preUrl;
	}

	public String getNextUrl() {
		return nextUrl;
	}

	public void setNextUrl(String nextUrl) {
		this.nextUrl = nextUrl;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getChapMain() {
		return chapMain;
	}

	public void setChapMain(String chapMain) {
		this.chapMain = chapMain;
	}

	@Override
	public String toString() {
		return "Chapter{" +
				"chapName='" + chapName + '\'' +
				", chapUrl='" + chapUrl + '\'' +
				", preUrl='" + preUrl + '\'' +
				", chapMain='" + chapMain + '\'' +
				", nextUrl='" + nextUrl + '\'' +
				'}';
	}
}
